.l-head {
  padding: 20px;
  .container {
    display: flex;
  }
}

.head-logo {
  h1 {
    font-size: 24px;
    color: $mainColor;
  }
}

.head-nav {
  margin-left: auto;
  > ul {
    display: flex;
    > li {
      margin: 0 10px;
      position: relative;
      &:hover .submenu {
        max-height: 100px;
        opacity: 1;
      }
    }
    .submenu {
      max-height: 0;
      overflow: hidden;
      padding: 10px 0;
      position: absolute;
      opacity: 0;
      transition: max-height 0.2s ease, opacity 0.2s ease;
      top: 100%;
      left: 0;
      a {
        font-size: 14px;
        word-break: keep-all;
      }
    }
  }
  a {
    padding: 10px 6px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    &:hover {
      color: $mainColor;
    }
  }
  a.nuxt-link-exact-active {
    color: $mainColor;
  }
}
